{{extends file="User/index.html"}}

{{block name="main"}}
<div class="col-md-6 mt50 h3">
    <form action="./index.php?c=User&a=update" method="post">
        <input type="hidden" name="id" value="{{$data.id}}">

        name:
        <input type="text" name="name" value="{{$data.nickname}}" placeholder="请输入用户名"><br><br>
        sex:
        <input type="radio" name="sex" value="0" {{if $data.sex == 0}}checked{{/if}}>女
        <input type="radio" name="sex" value="1" {{if $data.sex == 1}}checked{{/if}}>男
        <input type="radio" name="sex" value="2" {{if $data.sex == 2}}checked{{/if}}>保密<br><br>
        age:
        <input type="text" name="age" value="{{$data.tel}}"><br><br>
        注册时间<input type="text" name="name" value="{{$data.regtime}}"><br><br>
        <input type="hidden" name="vcode" value="1234">
        <input type="hidden" name="hehe" value="dsadas">
        <input type="hidden" name="haha" value="wwwww">
        <input type="submit" value="保存" class="btn btn-primary btn-lg">
    </form>
</div>
{{/block}}